/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mobilottery.server;

import java.util.Date;
import javax.persistence.*;

/**
 * Stores Administrator user details with rights to adminstrate the system and play games 
 * @author fedor
 */
@Entity
@DiscriminatorValue("Admin")
public class Admin extends User {

	private static final long serialVersionUID = 1L;

    public Admin(String userName, String email, String firstName, String lastName, String password, String creditCardNumber, boolean isBlocked) {
        super(userName, email, firstName, lastName, password, creditCardNumber, isBlocked);
    }

    public Admin(String userName, String email, String firstName, String lastName, String password, String creditCardNumber, boolean isBlocked, Date lastLoginDate) {
        super(userName, email, firstName, lastName, password, creditCardNumber, isBlocked, lastLoginDate);
    }

    public Admin() {
    }


    
}
